<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>企业门户 - 用户登录</title>
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <style>
    :root {
      --primary: #4361ee;
      --primary-light: #4895ef;
      --primary-dark: #3a0ca3;
      --error: #f72585;
      --success: #4cc9f0;
      --text: #2b2d42;
      --text-light: #8d99ae;
      --background: #f8f9fa;
      --card-bg: #ffffff;
      --border: #e9ecef;
      --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      color: var(--text);
      position: relative;
      overflow: hidden;
    }

    /* 装饰性背景元素 */
    .bg-circle {
      position: absolute;
      border-radius: 50%;
      background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(72, 149, 239, 0.1) 100%);
      z-index: 0;
    }

    .bg-circle-1 {
      width: 600px;
      height: 600px;
      top: -300px;
      right: -300px;
    }

    .bg-circle-2 {
      width: 400px;
      height: 400px;
      bottom: -200px;
      left: -200px;
    }

    /* 登录卡片 */
    .login-container {
      position: relative;
      z-index: 10;
      background: var(--card-bg);
      border-radius: 16px;
      box-shadow: var(--shadow);
      width: 100%;
      max-width: 440px;
      padding: 48px;
      margin: 24px;
      overflow: hidden;
      transition: var(--transition);
    }

    .login-container::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 6px;
      background: linear-gradient(90deg, var(--primary), var(--primary-light));
    }

    /* 品牌标识 */
    .brand {
      text-align: center;
      margin-bottom: 40px;
    }

    .brand-logo {
      width: 60px;
      height: 60px;
      margin: 0 auto 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
      color: white;
      border-radius: 12px;
      font-size: 24px;
      box-shadow: 0 4px 6px rgba(67, 97, 238, 0.2);
    }

    .brand-title {
      font-size: 22px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 8px;
    }

    .brand-subtitle {
      font-size: 14px;
      color: var(--text-light);
      font-weight: 500;
    }

    /* 表单样式 */
    .form-group {
      margin-bottom: 24px;
      position: relative;
    }

    .form-label {
      display: block;
      margin-bottom: 8px;
      font-size: 14px;
      font-weight: 500;
      color: var(--text);
    }

    .input-field {
      position: relative;
    }

    .input-field i {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-light);
      font-size: 16px;
      transition: var(--transition);
    }

    .form-control {
      width: 100%;
      padding: 14px 16px 14px 48px;
      font-size: 15px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background-color: var(--background);
      transition: var(--transition);
      color: var(--text);
    }

    .form-control:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
    }

    .form-control:focus + i {
      color: var(--primary);
    }

    /* 选项和链接 */
    .form-options {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 20px 0 28px;
      font-size: 14px;
    }

    .checkbox-container {
      display: flex;
      align-items: center;
      cursor: pointer;
    }

    .checkbox-container input {
      margin-right: 8px;
      cursor: pointer;
    }

    .forgot-link {
      color: var(--primary);
      text-decoration: none;
      font-weight: 500;
      transition: var(--transition);
    }

    .forgot-link:hover {
      color: var(--primary-dark);
      text-decoration: underline;
    }

    /* 登录按钮 */
    .login-btn {
      width: 100%;
      padding: 14px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
      color: white;
      border: none;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: 0 4px 6px rgba(67, 97, 238, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .login-btn i {
      margin-right: 10px;
      font-size: 18px;
    }

    .login-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 8px rgba(67, 97, 238, 0.3);
    }

    .login-btn:active {
      transform: translateY(0);
    }

    /* 错误提示 */
    .error-message {
      color: var(--error);
      font-size: 14px;
      text-align: center;
      margin: 20px 0;
      padding: 12px;
      background-color: rgba(247, 37, 133, 0.05);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .error-message i {
      margin-right: 8px;
    }

    /* 其他登录方式 */
    .divider {
      display: flex;
      align-items: center;
      margin: 28px 0;
      color: var(--text-light);
      font-size: 13px;
      font-weight: 500;
    }

    .divider::before,
    .divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
    }

    .divider::before {
      margin-right: 16px;
    }

    .divider::after {
      margin-left: 16px;
    }

    .social-login {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-bottom: 24px;
    }

    .social-btn {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: white;
      border: 1px solid var(--border);
      cursor: pointer;
      transition: var(--transition);
      color: var(--text);
      font-size: 18px;
    }

    .social-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .social-btn.wechat {
      color: #07C160;
    }

    .social-btn.dingtalk {
      color: #0084FF;
    }

    .social-btn.ldap {
      color: var(--primary);
    }

    /* 注册链接 */
    .register-link {
      text-align: center;
      font-size: 14px;
      color: var(--text-light);
    }

    .register-link a {
      color: var(--primary);
      text-decoration: none;
      font-weight: 500;
      margin-left: 6px;
      transition: var(--transition);
    }

    .register-link a:hover {
      color: var(--primary-dark);
      text-decoration: underline;
    }

    /* 响应式设计 */
    @media (max-width: 480px) {
      .login-container {
        padding: 32px 24px;
      }

      .brand-logo {
        width: 52px;
        height: 52px;
        font-size: 20px;
      }

      .brand-title {
        font-size: 20px;
      }
    }
  </style>
</head>
<body>
<!-- 装饰性背景元素 -->
<div class="bg-circle bg-circle-1"></div>
<div class="bg-circle bg-circle-2"></div>

<!-- 登录卡片 -->
<div class="login-container">
  <!-- 品牌标识 -->
  <div class="brand">
    <div class="brand-logo">
      <i class="fas fa-building"></i>
    </div>
    <h1 class="brand-title">企业门户系统</h1>
    <p class="brand-subtitle">欢迎回来，请登录您的账户</p>
  </div>

  <!-- 登录表单 -->
  <form>
    <div class="form-group">
      <label for="username" class="form-label">企业账号</label>
      <div class="input-field">
        <i class="fas fa-user-tie"></i>
        <input type="text" id="username" class="form-control" placeholder="请输入企业邮箱或员工号" required>
      </div>
    </div>

    <div class="form-group">
      <label for="password" class="form-label">登录密码</label>
      <div class="input-field">
        <i class="fas fa-lock"></i>
        <input type="password" id="password" class="form-control" placeholder="请输入您的密码" required>
      </div>
    </div>

    <div class="form-options">
      <label class="checkbox-container">
        <input type="checkbox" checked> 记住账号
      </label>
      <a href="#" class="forgot-link">忘记密码?</a>
    </div>

    <button type="submit" class="login-btn">
      <i class="fas fa-sign-in-alt"></i> 登录系统
    </button>

    <!-- 其他登录方式 -->
    <div class="divider">其他登录方式</div>

    <div class="social-login">
      <div class="social-btn wechat" title="企业微信登录">
        <i class="fab fa-weixin"></i>
      </div>
      <div class="social-btn dingtalk" title="钉钉登录">
        <i class="iconfont">D</i>
      </div>
      <div class="social-btn ldap" title="LDAP登录">
        <i class="fas fa-id-card"></i>
      </div>
    </div>

    <div class="register-link">
      新员工? <a href="#">联系管理员开通账号</a>
    </div>
  </form>
</div>
</body>
</html>